dotConnect for Oracle Documentation
Devart.Common Namespace / DbCommandBuilder Class / GetRefreshCommand Method / GetRefreshCommand(String[],Boolean) Method
The array of string containing list of the field names.
Determines whether dotConnect uses columns metadata to make up parameters' names. If true, the names are composed using colon and name of appropriate column; otherwise the names look like :p1, :p2 etc.

In This Topic
    GetRefreshCommand(String[],Boolean) Method
    In This Topic
    Gets the automatically generated SQL statement required to refresh values from the data source.
    Syntax
    'Declaration
     
    Public Overloads Shadows Function GetRefreshCommand( _
       ByVal fields() As String, _
       ByVal useColumnsForParameterNames As Boolean _
    ) As DbCommand
    public new DbCommand GetRefreshCommand( 
       string[] fields,
       bool useColumnsForParameterNames
    )

    Parameters

    fields
    The array of string containing list of the field names.
    useColumnsForParameterNames
    Determines whether dotConnect uses columns metadata to make up parameters' names. If true, the names are composed using colon and name of appropriate column; otherwise the names look like :p1, :p2 etc.

    Return Value

    A DbCommandBase with CommandText containing SQL statement to be executed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also